<template>
    <div id="app" :class="{ 'is-close': getClose }">
        <header-menu></header-menu>
        <slide-menu></slide-menu>
        <router-view></router-view>
    </div>
</template>

<script>
import HeaderMenu from 'views/header-menu.vue'
import SlideMenu from 'views/slide-menu.vue'
import { themeModule } from '@/store/modules/theme'

export default {
    computed: {
        getClose() {
            return themeModule.close
        }
    },
    components: {
        HeaderMenu,
        SlideMenu
    }
}
</script>
<style lang="less" scoped>
#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    height: 100%;
}
</style>
